package com.homelink.android.explorerup.component;

import android.content.Context;
import android.util.AttributeSet;
import android.util.Log;
import android.view.MotionEvent;
import android.widget.SpinnerAdapter;

public class Gallery extends android.widget.Gallery{
	private static final String TAG = "com.homelink.android.explorerup.compenent.Gallery";
	
	public Gallery(Context context) {
		super(context);
	}
	
	 public Gallery(Context context, AttributeSet attrs){
		 super(context,attrs);
	 }

	 public Gallery(Context context, AttributeSet attrs, int defStyle){
		 super(context,attrs,defStyle);
	 }
	 
	 
	 @Override
	 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) {
		 Log.d(TAG, "onScroll");
		 return super.onScroll(e1, e2, distanceX, distanceY);
	 }
	 
	 @Override
	 public boolean onTouchEvent(MotionEvent event) {
		 return super.onTouchEvent(event);
	 }
	 
	 @Override
	 public void setAdapter(SpinnerAdapter adapter){
		 super.setAdapter(adapter);
		
	 }
	 
	 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX,
				float velocityY) {
		 Log.d(TAG, "onFling");
		 return false;
	 }
	 
	 /*
	 public boolean onFling (MotionEvent e1, MotionEvent e2, float velocityX, float velocityY){
		 return false;
	 }*/
}
